__author__ = 'zoulida'
import pandas as pd

def openCsv(path = '/volume/zhangting.csv'):
    df = pd.read_csv(path, encoding='GBK')
    return df

def saveCsv(frame, path = '/volume/zhangting.csv'):
    frame.to_csv(path_or_buf=path , sep=str(','), na_rep='', float_format=None, columns=None,
                      header=True,
                      index=True,
                      index_label=None, mode='w', encoding='GBK', compression=None, quoting=None, quotechar='"',
                      line_terminator='\n', chunksize=None, tupleize_cols=None, date_format=None, doublequote=True,
                      escapechar=None, decimal='.')